package com.asset.dispoal.defaultCompanyMenu.domain.db.mapper;

import com.asset.dispoal.defaultCompanyMenu.domain.db.entity.GbMenuCompany;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tech.mhuang.pacebox.springboot.core.mapper.BaseMapper;

import java.util.List;

/**
 * JDBC接口
 *
 * @author: mhuang
 * @date: 2022-03-14 13:50:00
 */
@Mapper
public interface GbMenuCompanyMapper extends BaseMapper<GbMenuCompany, String> {


    /**
     * 批量添加
     *
     * @param companyList
     * @return
     */
    void saveBatch(List<GbMenuCompany> companyList);


    /**
     * 批量删除
     *
     * @param companyId
     * @return
     */
    void delBatch(@Param("companyId") String companyId);
}